﻿using UnityEngine;

namespace ProjectIndieFarm
{
    public interface IPlant
    {
        public GameObject GameObject { get; }

        public PlantStates CurrentState { get; }

        public int RipeDay { get; }

        public int XCell { get; set; }
        public int YCell { get; set; }

        SoilData SoilData { get; }

        string GetName();

        public void SetPlantState(PlantStates newState);

        public void Grow(SoilData soilData);

    }
}
